<?php

require_once __DIR__ . '/vendor/autoload.php';

use \Zend\Http\Client\Adapter\Test;

use Althingi\Meeting\Client;
use Althingi\Meeting\Parser;
use Althingi\Meeting\Mapper;


	$meetingClient = new Client(140,10);
	$meetingString = $meetingClient->getResult();

	$meetingParser = new Parser( $meetingString );

/*
	try {	
		$adapter = new Test();
		$adapter->setResponse( file_get_contents(__DIR__ . "/tests/vendor/Althingi/Meeting/data/http.01.txt") );
		Client::setAdapter( $adapter );


		$model = Mapper::clientMap( new Client(140,10) );
		print_r( $model );
	} catch (Exception $e) {
		echo $e->getMessage();
	}

*/

	